package com.pig4cloud.pig.flow.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 流程扩展
 *
 * @author mobai
 * @date 2024-10-15 13:48:51
 */
@Data
@TableName("act_flow_extended")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "流程扩展")
public class ActFlowExtendedEntity extends Model<ActFlowExtendedEntity> {


	/**
	* processDefinitionId
	*/
    @TableId(type = IdType.INPUT)
    @Schema(description="processDefinitionId")
    private String processDefinitionId;

	/**
	* flowJson
	*/
    @Schema(description="flowJson")
    private String flowJson;

	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建人")
    private String createBy;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 修改人
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改人")
    private String updateBy;

	/**
	* 更新时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="更新时间")
    private LocalDateTime updateTime;

	/**
	* 删除标志
	*/
    @TableLogic
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="删除标志")
    private String delFlag;
}
